/*
* Copyright (C) Microsoft. All rights reserved.  
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not 
* use this file except in compliance with the License.  You may obtain a copy 
* of the License at http://www.apache.org/licenses/LICENSE-2.0  
* 
* THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 
* WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 
* MERCHANTABLITY OR NON-INFRINGEMENT. 
*
* See the Apache License, Version 2.0 for specific language governing 
* permissions and limitations under the License.
*
*/
#include "pch.h"
#include <journal/common/automation_service.h>

namespace journal { namespace services { namespace automation {

namespace a = baja::app;
namespace m = baja::math;
namespace bi = baja::ink;

bi::ink_point jorgeStrokePoints0[] = {

        {baja::math::point2d(-1.974884f,2.278578f), 0.274510f, 7888, -1},
        {baja::math::point2d(-1.984110f,2.273990f), 0.411765f, 7913, -1},
        {baja::math::point2d(-1.991799f,2.271441f), 0.552941f, 7920, 0},
        {baja::math::point2d(-2.000000f,2.270677f), 0.729412f, 7924, 0},
        {baja::math::point2d(-1.992824f,2.274245f), 0.784314f, 7930, -1},
        {baja::math::point2d(-1.983342f,2.279343f), 0.800000f, 7933, -1},
        {baja::math::point2d(-1.971296f,2.288518f), 0.811765f, 7935, -1},
        {baja::math::point2d(-1.955662f,2.302026f), 0.819608f, 7938, -1},
        {baja::math::point2d(-1.938491f,2.321397f), 0.827451f, 7940, -1},
        {baja::math::point2d(-1.920551f,2.345610f), 0.827451f, 7942, -1},
        {baja::math::point2d(-1.903892f,2.375175f), 0.827451f, 7944, -1},
        {baja::math::point2d(-1.889027f,2.409583f), 0.823529f, 7946, -1},
        {baja::math::point2d(-1.877494f,2.446540f), 0.815686f, 7949, -1},
        {baja::math::point2d(-1.870574f,2.484262f), 0.807843f, 7952, -1},
        {baja::math::point2d(-1.868524f,2.520199f), 0.800000f, 7957, -1},
        {baja::math::point2d(-1.872112f,2.553333f), 0.792157f, 7961, -1},
        {baja::math::point2d(-1.880570f,2.581624f), 0.788235f, 7964, -1},
        {baja::math::point2d(-1.892359f,2.603797f), 0.780392f, 7966, -1},
        {baja::math::point2d(-1.905942f,2.619345f), 0.776471f, 7970, -1},
        {baja::math::point2d(-1.919269f,2.627756f), 0.772549f, 7973, -1},
        {baja::math::point2d(-1.931315f,2.629030f), 0.772549f, 7977, -1},
        {baja::math::point2d(-1.938747f,2.624187f), 0.772549f, 7980, -1},
        {baja::math::point2d(-1.940541f,2.614502f), 0.772549f, 7984, -1},
        {baja::math::point2d(-1.934646f,2.599975f), 0.772549f, 7987, -1},
        {baja::math::point2d(-1.920295f,2.581114f), 0.768627f, 7991, -1},
        {baja::math::point2d(-1.898254f,2.558939f), 0.772549f, 7994, -1},
        {baja::math::point2d(-1.868524f,2.534217f), 0.772549f, 7997, -1},
        {baja::math::point2d(-1.833668f,2.508219f), 0.772549f, 8001, -1},
        {baja::math::point2d(-1.794969f,2.482732f), 0.772549f, 8005, -1},
        {baja::math::point2d(-1.756269f,2.457755f), 0.776471f, 8009, -1},
        {baja::math::point2d(-1.719364f,2.434306f), 0.780392f, 8011, -1},
        {baja::math::point2d(-1.686815f,2.412642f), 0.780392f, 8015, -1},
        {baja::math::point2d(-1.660161f,2.393781f), 0.780392f, 8017, -1},
        {baja::math::point2d(-1.640171f,2.377979f), 0.780392f, 8019, -1},
        {baja::math::point2d(-1.628638f,2.364725f), 0.780392f, 8023, -1},
        {baja::math::point2d(-1.624537f,2.353001f), 0.784314f, 8025, -1},
        {baja::math::point2d(-1.628638f,2.342806f), 0.784314f, 8029, -1},
        {baja::math::point2d(-1.638633f,2.333375f), 0.784314f, 8031, -1},
        {baja::math::point2d(-1.655804f,2.324455f), 0.780392f, 8035, -1},
        {baja::math::point2d(-1.677333f,2.315025f), 0.780392f, 8038, -1},
        {baja::math::point2d(-1.701424f,2.304575f), 0.776471f, 8043, -1},
        {baja::math::point2d(-1.726027f,2.294889f), 0.772549f, 8045, -1},
        {baja::math::point2d(-1.749350f,2.286224f), 0.768627f, 8047, -1},
        {baja::math::point2d(-1.770109f,2.279852f), 0.768627f, 8051, -1},
        {baja::math::point2d(-1.787024f,2.276539f), 0.764706f, 8059, -1},
        {baja::math::point2d(-1.799070f,2.278578f), 0.760784f, 8061, -1},
        {baja::math::point2d(-1.804964f,2.285714f), 0.756863f, 8064, -1},
        {baja::math::point2d(-1.805221f,2.299987f), 0.756863f, 8067, -1},
        {baja::math::point2d(-1.799582f,2.320377f), 0.752941f, 8070, -1},
        {baja::math::point2d(-1.790612f,2.347649f), 0.717647f, 8072, -1},
        {baja::math::point2d(-1.776260f,2.378233f), 0.580392f, 8073, -1},
        {baja::math::point2d(-1.761395f,2.412897f), 0.443137f, 8077, -1},
        {baja::math::point2d(-1.744224f,2.449344f), 0.301961f, 8081, -1},
        {baja::math::point2d(-1.727309f,2.486046f), 0.156863f, 8085, -1},
};

symbol_strokes jorgeStroke0 = {journal::constants::ink::ink_color::black, 0.015000f, sizeof(jorgeStrokePoints0) / sizeof(bi::ink_point), jorgeStrokePoints0};

bi::ink_point jorgeStrokePoints1[] = {

        {baja::math::point2d(-1.669644f,2.595387f), 0.109804f, 8233, 0},
        {baja::math::point2d(-1.670413f,2.605582f), 0.345098f, 8260, 0},
        {baja::math::point2d(-1.680921f,2.603287f), 0.517647f, 8266, -1},
        {baja::math::point2d(-1.687584f,2.594877f), 0.572549f, 8269, -1},
        {baja::math::point2d(-1.697835f,2.585447f), 0.611765f, 8273, -1},
        {baja::math::point2d(-1.707318f,2.571174f), 0.647059f, 8276, -1},
        {baja::math::point2d(-1.718338f,2.556391f), 0.674510f, 8279, -1},
        {baja::math::point2d(-1.727309f,2.538805f), 0.698039f, 8281, -1},
        {baja::math::point2d(-1.736279f,2.522238f), 0.713726f, 8283, -1},
        {baja::math::point2d(-1.742173f,2.505671f), 0.729412f, 8287, -1},
        {baja::math::point2d(-1.746274f,2.492418f), 0.737255f, 8289, -1},
        {baja::math::point2d(-1.747043f,2.480948f), 0.745098f, 8293, 0},
        {baja::math::point2d(-1.739867f,2.471773f), 0.745098f, 8298, 0},
        {baja::math::point2d(-1.724234f,2.480184f), 0.749020f, 8305, -1},
        {baja::math::point2d(-1.714494f,2.491652f), 0.745098f, 8307, -1},
        {baja::math::point2d(-1.704242f,2.506436f), 0.741176f, 8310, -1},
        {baja::math::point2d(-1.693991f,2.524022f), 0.737255f, 8314, -1},
        {baja::math::point2d(-1.683996f,2.542882f), 0.729412f, 8317, -1},
        {baja::math::point2d(-1.676051f,2.561489f), 0.725490f, 8319, -1},
        {baja::math::point2d(-1.669131f,2.577546f), 0.721569f, 8323, -1},
        {baja::math::point2d(-1.664262f,2.591054f), 0.713726f, 8328, -1},
        {baja::math::point2d(-1.662212f,2.600484f), 0.705882f, 8331, 0},
        {baja::math::point2d(-1.670669f,2.597936f), 0.701961f, 8338, -1},
        {baja::math::point2d(-1.677588f,2.587231f), 0.701961f, 8341, -1},
        {baja::math::point2d(-1.685790f,2.573467f), 0.701961f, 8343, -1},
        {baja::math::point2d(-1.694504f,2.558939f), 0.705882f, 8347, -1},
        {baja::math::point2d(-1.702705f,2.543647f), 0.709804f, 8352, -1},
        {baja::math::point2d(-1.710138f,2.530394f), 0.713726f, 8354, -1},
        {baja::math::point2d(-1.715007f,2.518924f), 0.709804f, 8357, -1},
        {baja::math::point2d(-1.718595f,2.512043f), 0.701961f, 8361, 0},
        {baja::math::point2d(-1.712444f,2.530394f), 0.552941f, 8373, -1},
        {baja::math::point2d(-1.705524f,2.543138f), 0.486275f, 8376, -1},
        {baja::math::point2d(-1.700398f,2.561234f), 0.419608f, 8379, -1},
        {baja::math::point2d(-1.691941f,2.577546f), 0.360784f, 8380, -1},
        {baja::math::point2d(-1.685790f,2.596151f), 0.317647f, 8382, -1},
        {baja::math::point2d(-1.677588f,2.611699f), 0.301961f, 8386, -1},
        {baja::math::point2d(-1.669388f,2.624952f), 0.301961f, 8389, -1},
        {baja::math::point2d(-1.661699f,2.636167f), 0.333333f, 8392, -1},
        {baja::math::point2d(-1.651447f,2.641774f), 0.384314f, 8395, -1},
        {baja::math::point2d(-1.642734f,2.646362f), 0.439216f, 8400, -1},
        {baja::math::point2d(-1.631200f,2.645597f), 0.498039f, 8403, -1},
        {baja::math::point2d(-1.622230f,2.644833f), 0.552941f, 8406, -1},
        {baja::math::point2d(-1.610954f,2.639480f), 0.600000f, 8408, -1},
        {baja::math::point2d(-1.602496f,2.635657f), 0.631373f, 8411, -1},
        {baja::math::point2d(-1.593526f,2.630049f), 0.654902f, 8413, 0},
        {baja::math::point2d(-1.582249f,2.621639f), 0.686275f, 8419, 0},
        {baja::math::point2d(-1.591220f,2.620874f), 0.713726f, 8435, -1},
        {baja::math::point2d(-1.597626f,2.624697f), 0.713726f, 8438, -1},
        {baja::math::point2d(-1.604803f,2.629540f), 0.713726f, 8441, -1},
        {baja::math::point2d(-1.611722f,2.635147f), 0.709804f, 8446, -1},
        {baja::math::point2d(-1.618386f,2.641264f), 0.709804f, 8450, -1},
        {baja::math::point2d(-1.624280f,2.647891f), 0.705882f, 8451, -1},
        {baja::math::point2d(-1.628125f,2.655282f), 0.705882f, 8454, -1},
        {baja::math::point2d(-1.630432f,2.662673f), 0.709804f, 8455, -1},
        {baja::math::point2d(-1.630175f,2.670320f), 0.705882f, 8459, -1},
        {baja::math::point2d(-1.627869f,2.677711f), 0.701961f, 8461, -1},
        {baja::math::point2d(-1.623255f,2.685612f), 0.698039f, 8464, -1},
        {baja::math::point2d(-1.616591f,2.694023f), 0.701961f, 8466, -1},
        {baja::math::point2d(-1.608391f,2.703709f), 0.694118f, 8469, -1},
        {baja::math::point2d(-1.599421f,2.713394f), 0.694118f, 8473, -1},
        {baja::math::point2d(-1.589938f,2.724098f), 0.690196f, 8475, -1},
        {baja::math::point2d(-1.580968f,2.734548f), 0.690196f, 8478, -1},
        {baja::math::point2d(-1.573279f,2.744234f), 0.690196f, 8480, -1},
        {baja::math::point2d(-1.567384f,2.752899f), 0.690196f, 8483, -1},
        {baja::math::point2d(-1.564565f,2.760036f), 0.694118f, 8486, 0},
        {baja::math::point2d(-1.567641f,2.766917f), 0.694118f, 8492, 0},
        {baja::math::point2d(-1.581737f,2.761564f), 0.694118f, 8499, -1},
        {baja::math::point2d(-1.590963f,2.754683f), 0.698039f, 8501, -1},
        {baja::math::point2d(-1.600446f,2.746017f), 0.694118f, 8503, -1},
        {baja::math::point2d(-1.609672f,2.736078f), 0.698039f, 8505, -1},
        {baja::math::point2d(-1.617361f,2.724608f), 0.701961f, 8508, -1},
        {baja::math::point2d(-1.622999f,2.713139f), 0.701961f, 8511, -1},
        {baja::math::point2d(-1.625562f,2.703198f), 0.705882f, 8516, -1},
        {baja::math::point2d(-1.624793f,2.695043f), 0.705882f, 8518, -1},
        {baja::math::point2d(-1.619924f,2.689435f), 0.705882f, 8522, -1},
        {baja::math::point2d(-1.611466f,2.687141f), 0.713726f, 8524, -1},
        {baja::math::point2d(-1.599677f,2.688161f), 0.717647f, 8526, -1},
        {baja::math::point2d(-1.584556f,2.691474f), 0.721569f, 8530, -1},
        {baja::math::point2d(-1.567128f,2.698866f), 0.721569f, 8532, -1},
        {baja::math::point2d(-1.547137f,2.708041f), 0.729412f, 8536, -1},
        {baja::math::point2d(-1.525353f,2.718491f), 0.729412f, 8538, -1},
        {baja::math::point2d(-1.502030f,2.728686f), 0.737255f, 8540, -1},
        {baja::math::point2d(-1.478452f,2.739136f), 0.745098f, 8543, -1},
        {baja::math::point2d(-1.455130f,2.746782f), 0.745098f, 8545, -1},
        {baja::math::point2d(-1.432832f,2.752389f), 0.749020f, 8548, -1},
        {baja::math::point2d(-1.411817f,2.755448f), 0.749020f, 8552, -1},
        {baja::math::point2d(-1.393364f,2.754683f), 0.749020f, 8555, -1},
        {baja::math::point2d(-1.377731f,2.750860f), 0.745098f, 8559, -1},
        {baja::math::point2d(-1.365428f,2.744488f), 0.745098f, 8563, -1},
        {baja::math::point2d(-1.356971f,2.736333f), 0.741176f, 8566, -1},
        {baja::math::point2d(-1.352870f,2.726392f), 0.745098f, 8568, -1},
        {baja::math::point2d(-1.352358f,2.716197f), 0.745098f, 8571, -1},
        {baja::math::point2d(-1.355690f,2.706257f), 0.745098f, 8572, -1},
        {baja::math::point2d(-1.362097f,2.697592f), 0.745098f, 8574, -1},
        {baja::math::point2d(-1.371324f,2.690964f), 0.745098f, 8577, -1},
        {baja::math::point2d(-1.382087f,2.686887f), 0.741176f, 8579, -1},
        {baja::math::point2d(-1.393877f,2.685867f), 0.741176f, 8581, -1},
        {baja::math::point2d(-1.406691f,2.687397f), 0.737255f, 8585, -1},
        {baja::math::point2d(-1.418993f,2.691729f), 0.725490f, 8589, -1},
        {baja::math::point2d(-1.431038f,2.699630f), 0.721569f, 8593, -1},
        {baja::math::point2d(-1.441803f,2.710590f), 0.717647f, 8596, -1},
        {baja::math::point2d(-1.451542f,2.724098f), 0.713726f, 8599, -1},
        {baja::math::point2d(-1.459999f,2.740920f), 0.713726f, 8602, -1},
        {baja::math::point2d(-1.467432f,2.759271f), 0.705882f, 8604, -1},
        {baja::math::point2d(-1.474095f,2.778897f), 0.705882f, 8609, -1},
        {baja::math::point2d(-1.480503f,2.799286f), 0.709804f, 8612, -1},
        {baja::math::point2d(-1.486397f,2.818656f), 0.709804f, 8615, -1},
        {baja::math::point2d(-1.492035f,2.834969f), 0.709804f, 8619, -1},
        {baja::math::point2d(-1.497161f,2.848222f), 0.709804f, 8621, -1},
        {baja::math::point2d(-1.501775f,2.856888f), 0.709804f, 8624, 0},
        {baja::math::point2d(-1.509975f,2.857908f), 0.713726f, 8630, 0},
        {baja::math::point2d(-1.513564f,2.840066f), 0.721569f, 8637, -1},
        {baja::math::point2d(-1.513308f,2.828087f), 0.729412f, 8643, -1},
        {baja::math::point2d(-1.510745f,2.815089f), 0.733333f, 8644, -1},
        {baja::math::point2d(-1.506644f,2.803365f), 0.745098f, 8646, -1},
        {baja::math::point2d(-1.500493f,2.793934f), 0.752941f, 8649, -1},
        {baja::math::point2d(-1.492804f,2.790111f), 0.760784f, 8652, -1},
        {baja::math::point2d(-1.482296f,2.791385f), 0.768627f, 8657, -1},
        {baja::math::point2d(-1.470507f,2.798267f), 0.768627f, 8658, -1},
        {baja::math::point2d(-1.456924f,2.811265f), 0.756863f, 8662, -1},
        {baja::math::point2d(-1.441546f,2.826303f), 0.674510f, 8663, -1},
        {baja::math::point2d(-1.428475f,2.848732f), 0.533333f, 8668, -1},
        {baja::math::point2d(-1.414892f,2.873710f), 0.384314f, 8669, -1},
        {baja::math::point2d(-1.402847f,2.902000f), 0.235294f, 8673, -1},
        {baja::math::point2d(-1.391057f,2.930547f), 0.086275f, 8677, -1},
};

symbol_strokes jorgeStroke1 = {journal::constants::ink::ink_color::black, 0.015000f, sizeof(jorgeStrokePoints1) / sizeof(bi::ink_point), jorgeStrokePoints1};

bi::ink_point jorgeStrokePoints2[] = {

        {baja::math::point2d(-1.553032f,3.060277f), 0.250980f, 8834, -1},
        {baja::math::point2d(-1.544574f,3.061043f), 0.384314f, 8857, -1},
        {baja::math::point2d(-1.533554f,3.055690f), 0.521569f, 8861, -1},
        {baja::math::point2d(-1.517920f,3.047789f), 0.658824f, 8862, -1},
        {baja::math::point2d(-1.497674f,3.036319f), 0.678431f, 8867, -1},
        {baja::math::point2d(-1.474607f,3.021791f), 0.686275f, 8869, -1},
        {baja::math::point2d(-1.449235f,3.005734f), 0.694118f, 8872, -1},
        {baja::math::point2d(-1.424632f,2.989168f), 0.698039f, 8875, -1},
        {baja::math::point2d(-1.401052f,2.972856f), 0.690196f, 8878, -1},
        {baja::math::point2d(-1.379269f,2.957054f), 0.670588f, 8880, -1},
        {baja::math::point2d(-1.361840f,2.946349f), 0.592157f, 8883, -1},
        {baja::math::point2d(-1.347232f,2.936154f), 0.454902f, 8886, -1},
        {baja::math::point2d(-1.336981f,2.930037f), 0.317647f, 8889, 0},
};

symbol_strokes jorgeStroke2 = {journal::constants::ink::ink_color::black, 0.015000f, sizeof(jorgeStrokePoints2) / sizeof(bi::ink_point), jorgeStrokePoints2};

bi::ink_point jorgeStrokePoints3[] = {

        {baja::math::point2d(-1.611722f,3.074296f), 0.290196f, 8988, -1},
        {baja::math::point2d(-1.615311f,3.095451f), 0.431373f, 9013, -1},
        {baja::math::point2d(-1.613260f,3.118390f), 0.576471f, 9014, -1},
        {baja::math::point2d(-1.607366f,3.144641f), 0.713726f, 9019, -1},
        {baja::math::point2d(-1.596345f,3.172168f), 0.733333f, 9021, -1},
        {baja::math::point2d(-1.582249f,3.201224f), 0.752941f, 9025, -1},
        {baja::math::point2d(-1.563797f,3.228750f), 0.764706f, 9028, -1},
        {baja::math::point2d(-1.543550f,3.253473f), 0.768627f, 9030, -1},
        {baja::math::point2d(-1.521508f,3.273353f), 0.768627f, 9032, -1},
        {baja::math::point2d(-1.499212f,3.286607f), 0.772549f, 9035, -1},
        {baja::math::point2d(-1.477940f,3.292213f), 0.768627f, 9037, -1},
        {baja::math::point2d(-1.459486f,3.288900f), 0.760784f, 9040, -1},
        {baja::math::point2d(-1.444622f,3.277686f), 0.756863f, 9041, -1},
        {baja::math::point2d(-1.433345f,3.258060f), 0.752941f, 9045, -1},
        {baja::math::point2d(-1.426682f,3.232573f), 0.749020f, 9048, -1},
        {baja::math::point2d(-1.424632f,3.201733f), 0.745098f, 9050, -1},
        {baja::math::point2d(-1.426682f,3.168344f), 0.745098f, 9053, -1},
        {baja::math::point2d(-1.432064f,3.133936f), 0.737255f, 9055, -1},
        {baja::math::point2d(-1.440521f,3.101823f), 0.733333f, 9058, -1},
        {baja::math::point2d(-1.450260f,3.072767f), 0.721569f, 9062, -1},
        {baja::math::point2d(-1.462562f,3.049828f), 0.682353f, 9064, -1},
        {baja::math::point2d(-1.472301f,3.031732f), 0.549020f, 9066, -1},
        {baja::math::point2d(-1.483322f,3.020262f), 0.407843f, 9071, -1},
        {baja::math::point2d(-1.491779f,3.015675f), 0.270588f, 9075, 0},
};

symbol_strokes jorgeStroke3 = {journal::constants::ink::ink_color::black, 0.015000f, sizeof(jorgeStrokePoints3) / sizeof(bi::ink_point), jorgeStrokePoints3};

bi::ink_point jorgeStrokePoints4[] = {

        {baja::math::point2d(-1.400540f,3.031986f), 0.290196f, 9170, -1},
        {baja::math::point2d(-1.401821f,3.022047f), 0.431373f, 9199, 0},
        {baja::math::point2d(-1.403360f,3.010578f), 0.658824f, 9204, 0},
        {baja::math::point2d(-1.397465f,3.026635f), 0.705882f, 9211, -1},
        {baja::math::point2d(-1.392596f,3.038868f), 0.713726f, 9215, -1},
        {baja::math::point2d(-1.387469f,3.054161f), 0.717647f, 9218, -1},
        {baja::math::point2d(-1.382087f,3.070982f), 0.717647f, 9222, -1},
        {baja::math::point2d(-1.376705f,3.088824f), 0.717647f, 9223, -1},
        {baja::math::point2d(-1.372092f,3.105391f), 0.717647f, 9229, -1},
        {baja::math::point2d(-1.368761f,3.119153f), 0.717647f, 9231, -1},
        {baja::math::point2d(-1.366710f,3.130114f), 0.713726f, 9235, 0},
        {baja::math::point2d(-1.374655f,3.124761f), 0.709804f, 9248, -1},
        {baja::math::point2d(-1.379012f,3.111253f), 0.709804f, 9250, -1},
        {baja::math::point2d(-1.382600f,3.094431f), 0.709804f, 9253, -1},
        {baja::math::point2d(-1.385419f,3.075570f), 0.709804f, 9257, -1},
        {baja::math::point2d(-1.386957f,3.056200f), 0.713726f, 9261, -1},
        {baja::math::point2d(-1.386957f,3.038104f), 0.713726f, 9262, -1},
        {baja::math::point2d(-1.384907f,3.022047f), 0.713726f, 9265, -1},
        {baja::math::point2d(-1.381062f,3.009303f), 0.713726f, 9268, -1},
        {baja::math::point2d(-1.375680f,3.000128f), 0.713726f, 9270, -1},
        {baja::math::point2d(-1.369529f,2.995285f), 0.713726f, 9272, 0},
        {baja::math::point2d(-1.356202f,2.999873f), 0.709804f, 9278, -1},
        {baja::math::point2d(-1.350051f,3.008538f), 0.705882f, 9280, -1},
        {baja::math::point2d(-1.344157f,3.020772f), 0.698039f, 9284, -1},
        {baja::math::point2d(-1.339031f,3.035300f), 0.694118f, 9285, -1},
        {baja::math::point2d(-1.334674f,3.051612f), 0.690196f, 9288, -1},
        {baja::math::point2d(-1.330830f,3.069453f), 0.682353f, 9290, -1},
        {baja::math::point2d(-1.326473f,3.087039f), 0.682353f, 9292, -1},
        {baja::math::point2d(-1.322116f,3.104116f), 0.674510f, 9295, -1},
        {baja::math::point2d(-1.317502f,3.118390f), 0.670588f, 9297, -1},
        {baja::math::point2d(-1.312376f,3.130368f), 0.670588f, 9300, -1},
        {baja::math::point2d(-1.306482f,3.139034f), 0.674510f, 9302, -1},
        {baja::math::point2d(-1.299819f,3.144896f), 0.678431f, 9307, -1},
        {baja::math::point2d(-1.292386f,3.147954f), 0.686275f, 9310, -1},
        {baja::math::point2d(-1.284698f,3.147445f), 0.690196f, 9313, -1},
        {baja::math::point2d(-1.277265f,3.144896f), 0.698039f, 9315, -1},
        {baja::math::point2d(-1.269320f,3.140054f), 0.709804f, 9317, -1},
        {baja::math::point2d(-1.261888f,3.134701f), 0.717647f, 9320, -1},
        {baja::math::point2d(-1.254456f,3.128329f), 0.725490f, 9322, -1},
        {baja::math::point2d(-1.247792f,3.123487f), 0.729412f, 9325, -1},
        {baja::math::point2d(-1.241641f,3.119153f), 0.737255f, 9328, 0},
        {baja::math::point2d(-1.233184f,3.116096f), 0.745098f, 9333, 0},
        {baja::math::point2d(-1.234721f,3.125781f), 0.737255f, 9340, -1},
        {baja::math::point2d(-1.240103f,3.131643f), 0.733333f, 9344, -1},
        {baja::math::point2d(-1.247535f,3.137505f), 0.729412f, 9345, -1},
        {baja::math::point2d(-1.257019f,3.143112f), 0.721569f, 9348, -1},
        {baja::math::point2d(-1.266757f,3.147954f), 0.717647f, 9350, -1},
        {baja::math::point2d(-1.277009f,3.152033f), 0.713726f, 9355, -1},
        {baja::math::point2d(-1.286492f,3.154836f), 0.713726f, 9358, -1},
        {baja::math::point2d(-1.294949f,3.156620f), 0.709804f, 9360, 0},
        {baja::math::point2d(-1.305201f,3.159679f), 0.713726f, 9365, 0},
        {baja::math::point2d(-1.302125f,3.169619f), 0.721569f, 9372, -1},
        {baja::math::point2d(-1.296487f,3.176501f), 0.729412f, 9378, -1},
        {baja::math::point2d(-1.288798f,3.185676f), 0.729412f, 9383, -1},
        {baja::math::point2d(-1.279315f,3.197145f), 0.733333f, 9385, -1},
        {baja::math::point2d(-1.268808f,3.210908f), 0.741176f, 9387, -1},
        {baja::math::point2d(-1.257787f,3.225182f), 0.737255f, 9389, -1},
        {baja::math::point2d(-1.247280f,3.239455f), 0.741176f, 9392, -1},
        {baja::math::point2d(-1.238053f,3.253218f), 0.737255f, 9395, -1},
        {baja::math::point2d(-1.230621f,3.265451f), 0.737255f, 9398, -1},
        {baja::math::point2d(-1.224982f,3.274628f), 0.733333f, 9400, 0},
        {baja::math::point2d(-1.230108f,3.263158f), 0.729412f, 9413, -1},
        {baja::math::point2d(-1.233440f,3.250924f), 0.729412f, 9416, -1},
        {baja::math::point2d(-1.236003f,3.237670f), 0.729412f, 9419, -1},
        {baja::math::point2d(-1.237028f,3.224672f), 0.733333f, 9422, -1},
        {baja::math::point2d(-1.236259f,3.213202f), 0.733333f, 9426, -1},
        {baja::math::point2d(-1.233696f,3.203517f), 0.737255f, 9430, -1},
        {baja::math::point2d(-1.228827f,3.197401f), 0.741176f, 9432, 0},
        {baja::math::point2d(-1.214475f,3.195362f), 0.752941f, 9437, -1},
        {baja::math::point2d(-1.205760f,3.200459f), 0.756863f, 9439, -1},
        {baja::math::point2d(-1.196790f,3.209635f), 0.760784f, 9441, -1},
        {baja::math::point2d(-1.187564f,3.221104f), 0.760784f, 9444, -1},
        {baja::math::point2d(-1.178338f,3.235631f), 0.760784f, 9447, -1},
        {baja::math::point2d(-1.169623f,3.251944f), 0.756863f, 9449, -1},
        {baja::math::point2d(-1.160654f,3.269275f), 0.749020f, 9452, -1},
        {baja::math::point2d(-1.152452f,3.286861f), 0.741176f, 9455, -1},
        {baja::math::point2d(-1.143739f,3.302664f), 0.729412f, 9458, -1},
        {baja::math::point2d(-1.136050f,3.317446f), 0.717647f, 9461, -1},
        {baja::math::point2d(-1.128361f,3.327896f), 0.694118f, 9463, -1},
        {baja::math::point2d(-1.122210f,3.337581f), 0.658824f, 9466, -1},
        {baja::math::point2d(-1.114265f,3.341914f), 0.541176f, 9468, 0},
        {baja::math::point2d(-1.104783f,3.344973f), 0.274510f, 9472, 0},
};

symbol_strokes jorgeStroke4 = {journal::constants::ink::ink_color::black, 0.015000f, sizeof(jorgeStrokePoints4) / sizeof(bi::ink_point), jorgeStrokePoints4};

bi::ink_point jorgeStrokePoints5[] = {

        {baja::math::point2d(-1.225495f,3.406398f), 0.290196f, 9575, -1},
        {baja::math::point2d(-1.236772f,3.395438f), 0.431373f, 9601, -1},
        {baja::math::point2d(-1.248561f,3.384223f), 0.568627f, 9602, -1},
        {baja::math::point2d(-1.258812f,3.369950f), 0.698039f, 9605, -1},
        {baja::math::point2d(-1.268808f,3.356442f), 0.717647f, 9608, -1},
        {baja::math::point2d(-1.275984f,3.341914f), 0.725490f, 9610, -1},
        {baja::math::point2d(-1.281622f,3.329170f), 0.733333f, 9613, -1},
        {baja::math::point2d(-1.284698f,3.317701f), 0.733333f, 9616, -1},
        {baja::math::point2d(-1.285210f,3.309290f), 0.737255f, 9620, 0},
        {baja::math::point2d(-1.279315f,3.303173f), 0.733333f, 9627, 0},
        {baja::math::point2d(-1.264963f,3.311839f), 0.737255f, 9634, -1},
        {baja::math::point2d(-1.256250f,3.321269f), 0.745098f, 9636, -1},
        {baja::math::point2d(-1.246767f,3.333249f), 0.745098f, 9639, -1},
        {baja::math::point2d(-1.237028f,3.347776f), 0.749020f, 9641, -1},
        {baja::math::point2d(-1.227802f,3.362559f), 0.749020f, 9645, -1},
        {baja::math::point2d(-1.218575f,3.377342f), 0.752941f, 9646, -1},
        {baja::math::point2d(-1.210374f,3.390595f), 0.756863f, 9649, -1},
        {baja::math::point2d(-1.202429f,3.403084f), 0.756863f, 9651, -1},
        {baja::math::point2d(-1.194996f,3.412769f), 0.756863f, 9655, -1},
        {baja::math::point2d(-1.186795f,3.420416f), 0.756863f, 9658, -1},
        {baja::math::point2d(-1.178338f,3.425513f), 0.760784f, 9660, -1},
        {baja::math::point2d(-1.169111f,3.427807f), 0.760784f, 9662, -1},
        {baja::math::point2d(-1.158859f,3.426788f), 0.760784f, 9665, -1},
        {baja::math::point2d(-1.147583f,3.423729f), 0.760784f, 9668, -1},
        {baja::math::point2d(-1.135793f,3.418886f), 0.760784f, 9671, -1},
        {baja::math::point2d(-1.123492f,3.411495f), 0.764706f, 9674, -1},
        {baja::math::point2d(-1.111190f,3.403849f), 0.764706f, 9678, -1},
        {baja::math::point2d(-1.099657f,3.395183f), 0.768627f, 9681, -1},
        {baja::math::point2d(-1.089406f,3.386517f), 0.772549f, 9684, -1},
        {baja::math::point2d(-1.080435f,3.377851f), 0.776471f, 9686, -1},
        {baja::math::point2d(-1.073771f,3.371224f), 0.784314f, 9688, -1},
        {baja::math::point2d(-1.068390f,3.365618f), 0.792157f, 9693, 0},
        {baja::math::point2d(-1.069159f,3.373264f), 0.803922f, 9705, -1},
        {baja::math::point2d(-1.073259f,3.381675f), 0.803922f, 9708, -1},
        {baja::math::point2d(-1.077872f,3.391614f), 0.803922f, 9711, -1},
        {baja::math::point2d(-1.083255f,3.402575f), 0.803922f, 9712, -1},
        {baja::math::point2d(-1.088124f,3.414299f), 0.803922f, 9714, -1},
        {baja::math::point2d(-1.092225f,3.427297f), 0.800000f, 9717, -1},
        {baja::math::point2d(-1.095044f,3.440296f), 0.803922f, 9719, -1},
        {baja::math::point2d(-1.096325f,3.453295f), 0.803922f, 9722, -1},
        {baja::math::point2d(-1.096069f,3.466293f), 0.803922f, 9724, -1},
        {baja::math::point2d(-1.092737f,3.478527f), 0.811765f, 9728, -1},
        {baja::math::point2d(-1.087099f,3.491015f), 0.811765f, 9730, -1},
        {baja::math::point2d(-1.079666f,3.504014f), 0.815686f, 9735, -1},
        {baja::math::point2d(-1.070440f,3.517013f), 0.819608f, 9738, -1},
        {baja::math::point2d(-1.060188f,3.529757f), 0.823529f, 9740, -1},
        {baja::math::point2d(-1.049424f,3.542500f), 0.823529f, 9744, -1},
        {baja::math::point2d(-1.038660f,3.554734f), 0.827451f, 9745, -1},
        {baja::math::point2d(-1.029178f,3.564674f), 0.831373f, 9747, -1},
        {baja::math::point2d(-1.022258f,3.573086f), 0.831373f, 9749, 0},
        {baja::math::point2d(-1.016363f,3.580986f), 0.831373f, 9757, 0},
        {baja::math::point2d(-1.023795f,3.572320f), 0.831373f, 9763, -1},
        {baja::math::point2d(-1.031996f,3.561106f), 0.831373f, 9766, -1},
        {baja::math::point2d(-1.043273f,3.546324f), 0.827451f, 9768, -1},
        {baja::math::point2d(-1.055575f,3.529247f), 0.823529f, 9771, -1},
        {baja::math::point2d(-1.067877f,3.510386f), 0.823529f, 9774, -1},
        {baja::math::point2d(-1.079154f,3.491780f), 0.819608f, 9777, -1},
        {baja::math::point2d(-1.088892f,3.474194f), 0.815686f, 9780, -1},
        {baja::math::point2d(-1.095813f,3.459921f), 0.815686f, 9784, -1},
        {baja::math::point2d(-1.099144f,3.448707f), 0.811765f, 9788, 0},
        {baja::math::point2d(-1.095044f,3.441570f), 0.811765f, 9794, -1},
        {baja::math::point2d(-1.087611f,3.446668f), 0.811765f, 9795, -1},
        {baja::math::point2d(-1.078641f,3.456862f), 0.811765f, 9799, -1},
        {baja::math::point2d(-1.067621f,3.471390f), 0.811765f, 9802, -1},
        {baja::math::point2d(-1.056087f,3.489742f), 0.811765f, 9806, -1},
        {baja::math::point2d(-1.044554f,3.509877f), 0.811765f, 9811, -1},
        {baja::math::point2d(-1.033535f,3.530776f), 0.811765f, 9813, -1},
        {baja::math::point2d(-1.024820f,3.550657f), 0.811765f, 9816, -1},
        {baja::math::point2d(-1.018413f,3.568498f), 0.811765f, 9819, -1},
        {baja::math::point2d(-1.014313f,3.582771f), 0.811765f, 9820, -1},
        {baja::math::point2d(-1.011750f,3.592201f), 0.811765f, 9823, 0},
        {baja::math::point2d(-1.014313f,3.582771f), 0.823529f, 9834, -1},
        {baja::math::point2d(-1.013800f,3.572576f), 0.827451f, 9837, -1},
        {baja::math::point2d(-1.011493f,3.561361f), 0.835294f, 9841, -1},
        {baja::math::point2d(-1.007393f,3.550147f), 0.839216f, 9843, -1},
        {baja::math::point2d(-1.000729f,3.540716f), 0.847059f, 9845, -1},
        {baja::math::point2d(-0.991503f,3.534600f), 0.854902f, 9848, -1},
        {baja::math::point2d(-0.980226f,3.532051f), 0.858824f, 9851, -1},
        {baja::math::point2d(-0.966387f,3.534854f), 0.862745f, 9853, -1},
        {baja::math::point2d(-0.951009f,3.542245f), 0.866667f, 9858, -1},
        {baja::math::point2d(-0.935119f,3.554480f), 0.866667f, 9863, -1},
        {baja::math::point2d(-0.918717f,3.571301f), 0.866667f, 9866, -1},
        {baja::math::point2d(-0.902314f,3.591691f), 0.866667f, 9869, -1},
        {baja::math::point2d(-0.886680f,3.614375f), 0.866667f, 9871, -1},
        {baja::math::point2d(-0.872329f,3.638843f), 0.866667f, 9873, -1},
        {baja::math::point2d(-0.860026f,3.663311f), 0.866667f, 9875, -1},
        {baja::math::point2d(-0.849775f,3.685740f), 0.866667f, 9878, -1},
        {baja::math::point2d(-0.841573f,3.705365f), 0.870588f, 9881, -1},
        {baja::math::point2d(-0.835423f,3.720403f), 0.870588f, 9885, -1},
        {baja::math::point2d(-0.830297f,3.728814f), 0.874510f, 9887, 0},
        {baja::math::point2d(-0.823634f,3.724991f), 0.882353f, 9892, -1},
        {baja::math::point2d(-0.821071f,3.712757f), 0.886275f, 9896, -1},
        {baja::math::point2d(-0.818251f,3.693641f), 0.886275f, 9899, -1},
        {baja::math::point2d(-0.815432f,3.667899f), 0.886275f, 9901, -1},
        {baja::math::point2d(-0.812870f,3.638079f), 0.890196f, 9904, -1},
        {baja::math::point2d(-0.810562f,3.605200f), 0.886275f, 9906, -1},
        {baja::math::point2d(-0.809281f,3.572576f), 0.882353f, 9908, -1},
        {baja::math::point2d(-0.809025f,3.541736f), 0.878431f, 9913, -1},
        {baja::math::point2d(-0.810307f,3.513955f), 0.870588f, 9914, -1},
        {baja::math::point2d(-0.813382f,3.489487f), 0.866667f, 9915, -1},
        {baja::math::point2d(-0.819020f,3.469861f), 0.858824f, 9919, -1},
        {baja::math::point2d(-0.826709f,3.456608f), 0.858824f, 9921, -1},
        {baja::math::point2d(-0.835679f,3.448707f), 0.850980f, 9923, -1},
        {baja::math::point2d(-0.845418f,3.446923f), 0.850980f, 9927, -1},
        {baja::math::point2d(-0.855669f,3.449471f), 0.850980f, 9930, -1},
        {baja::math::point2d(-0.865409f,3.455333f), 0.850980f, 9933, -1},
        {baja::math::point2d(-0.873610f,3.464509f), 0.850980f, 9935, -1},
        {baja::math::point2d(-0.879505f,3.475469f), 0.850980f, 9938, -1},
        {baja::math::point2d(-0.882324f,3.487957f), 0.854902f, 9941, -1},
        {baja::math::point2d(-0.881811f,3.500192f), 0.858824f, 9944, -1},
        {baja::math::point2d(-0.877454f,3.511405f), 0.866667f, 9946, -1},
        {baja::math::point2d(-0.869766f,3.521601f), 0.866667f, 9950, -1},
        {baja::math::point2d(-0.859514f,3.530776f), 0.874510f, 9951, -1},
        {baja::math::point2d(-0.845931f,3.538678f), 0.874510f, 9955, -1},
        {baja::math::point2d(-0.829528f,3.545304f), 0.878431f, 9958, -1},
        {baja::math::point2d(-0.812101f,3.551421f), 0.878431f, 9960, -1},
        {baja::math::point2d(-0.793904f,3.557283f), 0.874510f, 9963, -1},
        {baja::math::point2d(-0.775707f,3.561616f), 0.862745f, 9965, -1},
        {baja::math::point2d(-0.760074f,3.567478f), 0.831373f, 9968, -1},
        {baja::math::point2d(-0.744441f,3.570026f), 0.725490f, 9970, -1},
        {baja::math::point2d(-0.734189f,3.575379f), 0.576471f, 9972, -1},
        {baja::math::point2d(-0.726243f,3.579457f), 0.427451f, 9974, 0},
        {baja::math::point2d(-0.723680f,3.589397f), 0.121569f, 9980, -1},
};

symbol_strokes jorgeStroke5 = {journal::constants::ink::ink_color::black, 0.015000f, sizeof(jorgeStrokePoints5) / sizeof(bi::ink_point), jorgeStrokePoints5};

void automation_service::buildJorgeSymbol()
{
    std::vector<symbol_strokes> strokes;

    DEFINE_STROKE(jorgeStroke0)
    DEFINE_STROKE(jorgeStroke1)
    DEFINE_STROKE(jorgeStroke2)
    DEFINE_STROKE(jorgeStroke3)
    DEFINE_STROKE(jorgeStroke4)
    DEFINE_STROKE(jorgeStroke5)
    DEFINE_SYMBOL(L"jorge", false)
}


}}} // journal::services::automation